import { HTTP } from "./HTTP"

// 消息通知
export function getIndusnotificationManagementList(data) {
  return HTTP({
    url: "/notificationManagement/page",
	  method: "GET",
    data
  });
}

// 消息通知详情
export function getNotificationDetail(id) {
  return HTTP({
    url: `/notificationManagement/${id}`,
	  method: "GET"
  });
}

// 查询申报体系
export function getCurrentDeclarationSystem() {
  return HTTP({
    url: `/declarationSystem/getCurrentDeclarationSystem`,
	  method: "GET"
  });
}

// 查询申报体系
export function getCurrentDeclarationSystem3(data) {
  return HTTP({
    url: `/declarationSystem/getCurrentDeclarationSystem3`,
	  method: "GET",
		data
  });
}

// 承诺书
export function getCommitmentLetter() {
  return HTTP({
    url: `/serviceConfiguration/getCommitmentLetter`,
	  method: "GET"
  });
}

// 判断是否申报过
export function isReported(data) {
  return HTTP({
    url: `/declarationInfo/isHave`,
	  method: "GET",
	  data
  });
}

// ================================================= 管理端统计

// 获取体系
export function queryAssessPage(data) {
  return HTTP({
    url: '/declarationSystem/page',
	  method: "GET",
	  data
  });
}


// 获取体现统计数据
export function queryAssessStatData(data) {
  return HTTP({
    url: '/index/getData',
	  method: "GET",
	  data
  });
}


// 获取等级排行数据
export function queryRankingData(data) {
  return HTTP({
    url: '/index/getRanking',
	  method: "GET",
	  data
  });
}

